package com.common.annotation;

import java.lang.annotation.*;

/**
 * Created by dell on 2016/7/26.
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface RedisCacheable {

    long expire() default (long) -1;   //过期时间

}
